package com.itheima.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Date;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-08-03 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="t_sys_dict_data" )
public class SysDictData  implements Serializable {

	private static final long serialVersionUID =  4982386141504616540L;

	/**
	 * 主键
	 */
	@Id
   	@Column(name = "uid" )
	private String uid;

	/**
	 * 自增键oid
	 */
   	@Column(name = "oid" )
	private Long oid;

	/**
	 * 字典类型UID
	 */
   	@Column(name = "dict_type_uid" )
	private String dictTypeUid;

	/**
	 * 字典标签
	 */
   	@Column(name = "dict_label" )
	private String dictLabel;

	/**
	 * 字典键值
	 */
   	@Column(name = "dict_value" )
	private String dictValue;

	/**
	 * 样式属性（其他样式扩展）
	 */
   	@Column(name = "css_class" )
	private String cssClass;

	/**
	 * 表格回显样式
	 */
   	@Column(name = "list_class" )
	private String listClass;

	/**
	 * 是否默认（1是 0否）,默认为0
	 */
   	@Column(name = "is_default" )
	private Integer isDefault;

	/**
	 * 创建人UID
	 */
   	@Column(name = "create_by_uid" )
	private String createByUid;

	/**
	 * 最后更新人UID
	 */
   	@Column(name = "update_by_uid" )
	private String updateByUid;

	/**
	 * 备注
	 */
   	@Column(name = "remark" )
	private String remark;

	/**
	 * 状态
	 */
   	@Column(name = "status" )
	private Integer status;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;

	/**
	 * 是否发布(1:是，0:否)
	 */
   	@Column(name = "is_publish" )
	private String isPublish;

	/**
	 * 排序字段
	 */
   	@Column(name = "sort" )
	private Long sort;

}
